﻿@import url("variables.less");

/* General */

.logistics-order{
    position:relative;
    overflow: hidden;
    min-height: 500px;
    background: @lighter-grey;
    background: @trans-lighter-grey;
    padding-bottom: 9999px;
    margin-bottom: -9999px;
}

.logistics-order-loading, .logistics-order-subtotal-loading, .logistics-giftcard-loading {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    width: 120px;
    text-align: center;
    margin: auto;
    display: none;
}

.logistics-order-subtotal-loading {
    bottom: auto;
    margin-top: 30px;
}

.step-back {
    cursor: pointer;
    .font-size(20);
    position: absolute;
    top: 0;
    right:0;
    z-index: 10;
}

.siteseal-wrapper {
    padding: 10px 20px;
}


/* Bootstrap Override */
.container-fluid, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
  padding-right: 8px;
  padding-left: 8px;
}

.table>tbody>tr>td{
    vertical-align: middle;
}

.pager li>a {
    border-radius: 0;
}

/* Tips */
.order-tip {
    color: #fff;
    background: @azure;
    .font-size(12);
    font-weight: bold;
    line-height: 17px;
    text-align: center;
    height: 16px;
    width: 16px;
    cursor: pointer;
    border-radius: 10px;
    display: inline-block;
    margin-left: 5px;
}
.popover-contents {
    display: none;
}
.popover-message {
    margin-top: -10px;
}
.popover-content{
    .font-size(12);
}
/* Logistics Layout */
.logistics-wrapper{
    overflow: hidden;
    position: relative;
}
.logistics-menu-toggle{
    display: none;
    color: #fff;
    background: @light-velvet;
}
.logistics-menu {
    width: 21%;
    float: left;
    .logistics-menu-content{
        background: @light-velvet;
        color: #fff;
        min-height: 300px;
        padding-bottom: 9999px;
        margin-bottom: -9999px;
        padding-top: 25px;
        padding-right: 35px;
        text-align: right;
        h3{
            .font-size(22);
            font-weight: bold;
            margin-bottom: 20px;
            text-transform: uppercase;
        }
        li {
            list-style: none;
            margin-bottom: 15px;
        }
        a {
            color: #fff;
        }
    }
}
.logistics-content {
    width: 79%;
    float: right;
    min-height: 300px;
    padding-bottom: 9999px;
    margin-bottom: -9999px;
}

/* Logistics Order Status Menu */
.logistics-order-menu{
    background: @light-grey;
    overflow: hidden;
    height: 0;
    box-shadow: 0 1px 10px rgba(0,0,0,.9);
    z-index: 1;
    .order-new{
        width: 60px;
        height: 60px;
        .font-size(36);
        line-height: 60px;
        float: right;
        text-align: center;
        cursor:pointer;
        color: #fff;
        background: @dark-grey;
        &:hover, &:active {
            color: @red;
        }
    }
    .order-steps-icons{
        display: none;
    }
    ul {
        padding: 0;
        margin: 0;
        height: 60px;
        margin-right: 60px;
        border-bottom:1px solid @light-grey;
        overflow: hidden;
        li{
            list-style: none;
            height: 60px;
            .font-size(12);
            text-align: center;
            color: @light-grey;
            line-height: 60px;
            position: relative;
            span{
                padding-left: 15px;
            }
            .arrow-wrapper{
                position: absolute;
                height: 60px;
                top: 0;
                right: -30px;
                width: 30px;
                overflow: hidden;
            }
            .arrow{
                -webkit-transform: rotate(45deg);
	            -moz-transform: rotate(45deg);
	            -ms-transform: rotate(45deg);
	            -o-transform: rotate(45deg);
	            transform: rotate(45deg);
                position: absolute;
                height: 50px;
                width: 50px;
                top: -5px;
                -webkit-transform-origin: 0 0;
                -moz-transform-origin: 0 0;
                -ms-transform-origin: 0 0;
                -o-transform-origin: 0 0;
                transform-origin: 0 0;
                right:-15px;
                border-radius:5px;
                box-shadow: 0 0 5px rgba(0,0,0,0.3);
            }
            &.Disabled{
                color:@medium-grey;
                cursor: default;
                background:@light-grey;
                .arrow{
                    background:@light-grey;
                }
            }
            &.Current, &.Complete, &.Error{
                color: #fff;
                background: @dark-grey;
                cursor: pointer;
                .arrow{
                    background: @dark-grey;
                }
            }
            &.Current{
                background: @light-velvet;
                .arrow{
                    background: @light-velvet;
                }
            }
            &.pickup{
                //background: @menured;
                z-index:11;
                .arrow {
                    //background: @menured;
                    z-index:10;
                }
            }
            &.delivery{
                //background: @menuorange;
                z-index:9;
                .arrow {
                    //background: @menuorange;
                    z-index:8;
                }
            }
            &.packages{
                //background: @menuyellow;
                z-index:7;
                .arrow {
                    //background: @menuyellow;
                    z-index:6;
                }
            }
            &.payment{
                //background: @menugreen;
                z-index:5;
                .arrow {
                    //background: @menugreen;
                    z-index:4;
                }
            }
            &.finalize{
                //background: @menublue;
                z-index:3;
                .arrow {
                    //background: @menublue;
                    z-index:2;
                }
            }
            &.complete{
                //background: #000;
                z-index:1;
            }
        }
    }
}

/* Access denied */
.logistics-access-denied .btn {
    margin-top: 10px;
}

/* Logistics Order Subtotal, if applicable */
.logistics-order-subtotal-wrapper {
    padding-top: 25px;
    background: @medium-grey;
    color: #fff;
    padding-bottom: 9999px;
    margin-bottom: -9999px;
    .logistics-order-subtotal{
        padding: 0 25px;
        h3{
            .font-size(22);
            font-weight: bold;
            margin-bottom: 20px;
            text-transform: uppercase;
        }
        table{
            .font-size(12);
            tbody tr td {
                border-top: 1px solid @light-grey;
            }
        }
    }
}
.gift-card-action {
    margin-top: 10px;
}

.giftcard-message {
    color: @light-velvet;
}
/* Logistics Order Content */
.logistics-order-content-wrapper {
    padding-top: 25px;
    min-height: 500px;
    .logistics-order-content{
        padding: 0 25px 25px 25px;
        input[type=text], input[type=button], button, select {
            margin-bottom: 10px;
        }
        h3 {
            .font-size(22);
            font-weight: bold;
            margin-bottom: 15px;
            margin-top: 0;
            &.popover-title{
                .font-size(16);
                margin-bottom: 0;
            }
        }
        .section-wrapper{
            padding-bottom: 25px;
            margin-bottom: 25px;
            border-bottom: 1px solid @light-grey;
        }
    }
}

/* Messages */
.logistics-order-messages {
    color: #fff;
    .notices{
        padding: 0;
        padding-left: 30px;
    }
    .errors {
        padding: 0;
        padding-left: 30px;
    }
    .alert{
        margin: 0 25px 25px 25px;
    }
}


/* Address */
.address-select-wrapper {
    overflow: hidden;
    position: relative;
    .address-form {
        position: relative;
        width: 100%;
        label{
            .font-size(12);
        }
    }
    .address-select-list {
        position: absolute;
        top: 0;
        left: 100%;
        width: 100%;
        h2{
            margin-top: 0;
        }
        .address-search-field{
            margin-left: 10px;
        }
        .address-select-item {
            cursor: pointer;
            position: relative;
            padding: 10px;
            margin-bottom: 10px;
            background:@lighter-grey;
            overflow: hidden;
            .font-size(12);
            .box-sizing("border-box");
            .address-select-item-content {
                height: 100%;
                overflow: hidden;
            }
            &.selected {
                background:@yellow;
            }
            &.hide {
                display: none;
            }
            &:hover {
                color: #fff;
                background: @light-grey;
            }
        }
    }
}
.logistics-order-content-wrapper form .address-type-wrapper{
    vertical-align: middle;
    margin: 20px 0;
    font-weight: normal;
    label {
        margin: 0;
        font-weight: normal;
    }
    input {
        margin: 5px;
    }
    p{
        font-size:small;
    }
}

.pickup-calendar-wrapper {
    overflow: hidden;
}
.pickup-time-wrapper, .pickup-time-wrapper label{
    font-weight: normal;
}
table.pickup-calendar, table.delivery-calendar {
    border: 1px solid #ccc;
    text-align:center;
    tr {
        border-top: 1px solid #ccc;
        th {
            border-bottom: 1px solid #ccc;
            border-left: 1px solid #ccc;
            text-align:center;
        }
        td {
            border-left: 1px solid #ccc;
            position: relative;
            &:first-child {
                border: 0;
            }
            .available {
                cursor: pointer;
                position: relative;
                width: 100%;
                height: 40px;
                background:@azure;
                &:hover {
                    background:@yellow;
                }
                &.selected, &:active {
                    background:@red;
                }
            }
        }
        &:first-child {
            border: 0;
        }
    }
}

.delivery-reference {
    margin-bottom: 25px;
}
.receiver-signature label {
    font-weight: normal;
}
.receiver-signature table{
    width: 100%;
    td {
        vertical-align: top;
        input {
            margin-right: 10px;
        }
    }
}
/* Packages */
.package-measurement-wrapper {
    overflow: hidden;
    clear: both;
}
h3.package-title {
    border-bottom: 1px solid @light-grey;
    padding-bottom: 5px;
}
.my-packages{
    margin-top: 20px;
    input.active{
        outline: 0;
        cursor: default;
        &:hover, &:active {
            background: transparent;
            color: #333;
            border: 1px solid #bbb;
            font-weight: bold;
            box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
        }
    }
}
.package-presets{
    margin-top: 20px;
    .text{
        text-align: center;
        .font-size(16);
        margin-top: 5px;
    }
    .measurement {
        text-align: center;
        background: @light-grey;
        .font-size(12);
        padding: 5px;
        margin-top: 5px;
    }
    .package-preset{
        float: left;
        width: 20%;
        min-width: 130px;
        margin-bottom: 15px;
        .package-preset-wrapper {
            .box-sizing(border-box);
            width: 120px;
            height: 120px;
            padding: 10px;
            background: transparent;
            border-radius: 75px;
            border: 1px solid @light-grey;
            cursor: pointer;
            margin: auto;
            &:hover {
                background: @yellow;
            }
            &:active, &.selected {
                background: @red;
                border: 1px solid @red;
            }
            .package-price {
                text-align: center;
                display: block;
                margin-top: -15px;
                font-size: 12px;
            }
        }
    }
}
.measurement-sizes {
    text-align: center;
    padding-top: 15px;
    background: @light-grey;
    img {
        width: 100%;
        max-width: 600px;
    }
}
.package-options {
    margin-top: 10px;
    .order-tip{
        display: block;
        margin-left: 100px;
        margin-top: -65px;
    }
    .popover {
        width: 300px;
    }
    .package-option {
        position: relative;
        width: 120px;
        height: 120px;
        text-align: center;
        margin: auto;
        .package-option-wrapper {
            .box-sizing(border-box);
            width: 120px;
            height: 120px;
            padding: 15px;
            background: transparent;
            border-radius: 75px;
            border: 1px solid @light-grey;
            cursor: pointer;
            .text{
                .font-size(12);
                margin-top: 5px;
            }
            &:hover {
                background: @yellow;
            }
            &:active, &.selected {
                background: @red;
                border: 1px solid @red;
            }
        }
    }   
}
/* Payment */
#secureForm iframe {
    width: 100%;
    height: 400px;
    border: 0;
}
.payment-info {
    margin-bottom: 25px;
    iframe {
        border: 0;
    }
    table {
        width: 100%;
        .font-size(12);
        margin-bottom: 15px;
        th div{
            /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#f4f4f4+0,e2e2e2+100 */
            background: rgb(244,244,244); /* Old browsers */
            /* IE9 SVG, needs conditional override of 'filter' to 'none' */
            background: url();
            background: -moz-linear-gradient(top,  rgba(244,244,244,1) 0, rgba(226,226,226,1) 100%); /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0,rgba(244,244,244,1)), color-stop(100%,rgba(226,226,226,1))); /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top,  rgba(244,244,244,1) 0,rgba(226,226,226,1) 100%); /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top,  rgba(244,244,244,1) 0,rgba(226,226,226,1) 100%); /* Opera 11.10+ */
            background: -ms-linear-gradient(top,  rgba(244,244,244,1) 0,rgba(226,226,226,1) 100%); /* IE10+ */
            background: linear-gradient(to bottom,  rgba(244,244,244,1) 0,rgba(226,226,226,1) 100%); /* W3C */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-8 */
            color: @text-color;
            padding: 5px 10px;
            border: 1px solid @light-grey;
            border-left: 0;
            white-space:nowrap;
            overflow:hidden;
            -ms-text-overflow:ellipsis;
            -o-text-overflow:ellipsis;
            text-overflow:ellipsis;
        }
        th.card-select div{
            border-left: 1px solid @light-grey;
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }
        th.card-expiry div{
            border-top-right-radius: 5px;
            border-bottom-right-radius: 5px;
        }
        tr.credit-card {
            cursor: pointer;
            div {
                padding: 5px 10px;
                margin-top: 5px;
                white-space:nowrap;
                overflow:hidden;
                -ms-text-overflow:ellipsis;
                -o-text-overflow:ellipsis;
                text-overflow:ellipsis;
            }
            &.selected div, &:hover div, &:active div {
                /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cedce7+0,596a72+100;Grey+3D+%231 */
                background: rgb(206,220,231); /* Old browsers */
                /* IE9 SVG, needs conditional override of 'filter' to 'none' */
                background: url();
                background: -moz-linear-gradient(top,  rgba(206,220,231,1) 0, rgba(89,106,114,1) 100%); /* FF3.6+ */
                background: -webkit-gradient(linear, left top, left bottom, color-stop(0,rgba(206,220,231,1)), color-stop(100%,rgba(89,106,114,1))); /* Chrome,Safari4+ */
                background: -webkit-linear-gradient(top,  rgba(206,220,231,1) 0,rgba(89,106,114,1) 100%); /* Chrome10+,Safari5.1+ */
                background: -o-linear-gradient(top,  rgba(206,220,231,1) 0,rgba(89,106,114,1) 100%); /* Opera 11.10+ */
                background: -ms-linear-gradient(top,  rgba(206,220,231,1) 0,rgba(89,106,114,1) 100%); /* IE10+ */
                background: linear-gradient(to bottom,  rgba(206,220,231,1) 0,rgba(89,106,114,1) 100%); /* W3C */
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7', endColorstr='#596a72',GradientType=0 ); /* IE6-8 */
                color: #fff;
            }
        }
        td.card-select{
            text-align: center;
            vertical-align: middle;
        }
    }
}
.billing-address-container{
    margin-bottom: 15px;
}
/* Order Finalize / Complete */
.finalize-button {
    margin-top: 15px;
}
.finalize-order-button {
    margin-top: 15px;
    margin-bottom: 20px;
}
.finalize-package {
    text-align: center;
    .image {
        width: 90px;
        height: 90px;
        padding: 15px;
        text-align: center;
        margin: auto;
        background: #fff;
        border: 1px solid @light-grey;
        border-radius: 50px;
    }
    .text{
        .font-size(16);
        margin: 10px 0;
    }
}
.order-complete-packages {
    td, th {
        padding: 5px 10px;
    }
}
.complete-buttons{
    margin-top: 20px;
    margin-bottom: 20px;
    a, input{
        margin-bottom: 10px;
    }
}
/* Tracking */
.package-status-wrapper {
    position: relative;
    .progress{
        height: 30px;
        margin:0;
    }
    .progress-indicator {
        margin-left: -7px;
        position: relative;
        top: -4px;
    }
}
.package-status-bar {
    height: 30px;
    width: 0;
    position: absolute;
}
.package-statuses {
    position:absolute;
    top: 0;
    width: 100%;
    text-align: center;
    .displayed-status {
        float: left;
        .box-sizing(border-box);
        border-left: 0;
        font-weight: 300;
        line-height: 28px;
        height: 30px;
        color: #fff;
        &:first-child{
        }
    }
}
.logistics-order-tracking {
    .package-tracking-form {
        position: relative;
        .tracking-button {
            position:absolute;
            margin: 0;
            top: 0;
            right: 0;
        }
    }
    .logistics-order-messages .messages-wrapper {
        padding: 0;
        margin-top: 20px;
    }
}

.order-list-wrapper {
    overflow: hidden;
    position: relative;
    .box-sizing(border-box);
    min-height: 60px;
    .order-list-table, .order-list-detail {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    .order-list-detail, .order-shipment-action, .order-shipment-detail {
        position: relative;
        height: 0;
        overflow: hidden;
        width: 100%;
    }
    .order-shipment-row, .order-list-row, .shipment-list-row {
        cursor: pointer;
    }
    .hidden-data {
        display: none;
    }
}

.tracking-shipment-wrapper {
    overflow: hidden;
    position: relative;
    .order-shipment-action {
        position: relative;
        height: 0;
        overflow: hidden;
    }
    .order-shipment-detail {
        position: relative;
        width: 100%;
    }
}

textarea {
    resize: none;
}

.package-estimate{
    font-size:24px;
    font-weight:bold;
}

.back-to-top{
  padding:5px 15px;
  position: fixed;
  bottom: 25px;
  right: 20px;
  display: none;
  border-radius: 3px;
  z-index:5;
    a{
        color:#fff;
        font-size:30px;
    }
}

.summary-total{
    font-weight:bold;
}

/*input[type="radio"] {
    display:none;
}
input[type="radio"] + label:before {
    background-color: @lightGrey;
    content:"";
    display:inline-block;
    width:20px;
    height:20px;
    font-size:28px;
    line-height:20px;
    border-radius:10px;
    cursor:pointer;
    margin:0 5px;
    vertical-align:middle;
    text-align:center;
}
input[type="radio"]:checked +label:before{
    content:"\2022";
    color:@teal;
    -webkit-transition:all 0.5s;
    -moz-transition:all 0.5s;
    -o-transition:all 0.5s;
    transition: all 0.5s;
}
input[type="radio"]:checked +label{
    font-weight:bold;
}*/

.not-available{
    text-decoration:line-through;
}

/** Media Query **/
@media @mobile {

}
@media @mobile-strict {

}
@media @phone {
    .logistics-menu {
        width: 100px;
        position: absolute;
    }
    .logistics-content {
        width: auto;
        margin-left: 100px;
    }
    table.pickup-calendar, table.delivery-calendar {
        .font-size(12);
    }
    #creditcards {
        thead, th {
            display: none;
        }
        tr{
            display: block;
            background: @light-grey;
            td {
                display: block;
                float: left;
                &.card-select{
                    display: none;
                }
                &.card-type {
                    width: 15%;
                }
                &.card-number {
                    width: 85%;
                }
                &.card-holder{
                    width:auto;
                }
                &.card-expiry{
                    width: auto;
                }
                &.card-mobile-clear {
                    float:none;
                }
            }
            &.selected {
                td div{
                    background: transparent;
                    margin: 0;
                }
            }
                
        }
        
    }
    .order-complete-packages{
        .font-size(11);
        .btn-normal {
            .font-size(12);
        }
    }
    .logistics-order-menu ul li{
        .arrow-wrapper {
            display: none;
        }
    }
}
@media @phone-strict {
}

@media @tablet-strict {
}
@media @non-desktop {
    .logistics-order-content-wrapper .logistics-order-content{
        padding: 0 15px 25px 15px;
    }
    .logistics-menu-toggle {
        display: block;
        width: 60px;
        height: 60px;
        .font-size(30);
        line-height: 60px;
        text-align: center;
        cursor: pointer;
        float: left;
        border-bottom: 1px solid @light-grey;
        &:hover {
            color: @red;
        }
    }
    .logistics-order-steps {
        margin-left: 60px;
    }
    .logistics-menu{
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        overflow: hidden;
        max-width: 250px;
        z-index: 20;
        .logistics-menu-content {
            min-width: 250px;
        }
    }
    .logistics-menu-toggle-bg{
        position: fixed;
        height: 100%;
        width: 0;
        top: 0;
        left: 0;
        z-index: 19;
    }
    .logistics-content{
        width: 100%;
    }
    .package-options .package-option, .package-options .package-option .package-option-wrapper{
        width: 100%;
        max-width: 120px;
    }
    .package-options .package-option .package-option-wrapper{
        padding: 5px;
        padding-top: 15px;
    }
    
    .logistics-order-menu ul li{
        -webkit-transition: width 1s; 
        -moz-transition: width 1s; 
        -o-transition: width 1s; 
        transition: width 1s;
        padding:0;
        width:6%;
        span {
            display: none;
        }
    }
    .logistics-order-menu ul li.Current {
        width: 70%;
        span{
            display: inline;
        }
    }
}
@media @desktop {

}
@media @desktop-strict {
}
@media @large {
}

@media @tablet {
    .logistics-order-menu ul li{
        display: none;
        &.Current {
            display: block;
            width: 100%;
            border-left: 1px solid @light-grey;
            border-right: 1px solid @light-grey;
        }
    }
    
}